/// <summary>
 /// Sets the CloudFrontOriginAccessIdentityConfig property
 /// </summary>
 /// <param name="cloudFrontOriginAccessIdentityConfig">The value to set for the CloudFrontOriginAccessIdentityConfig property </param>
 /// <returns>this instance</returns>
 public UpdateCloudFrontOriginAccessIdentityRequest WithCloudFrontOriginAccessIdentityConfig(CloudFrontOriginAccessIdentityConfig cloudFrontOriginAccessIdentityConfig)
 {
     this.cloudFrontOriginAccessIdentityConfig = cloudFrontOriginAccessIdentityConfig;
     return this;
 }
 public GetCloudFrontOriginAccessIdentityConfigResult WithCloudFrontOriginAccessIdentityConfig(CloudFrontOriginAccessIdentityConfig cloudFrontOriginAccessIdentityConfig)
 {
     this.cloudFrontOriginAccessIdentityConfig = cloudFrontOriginAccessIdentityConfig;
     return this;
 }
 /// <summary>
 /// Sets the OriginAccessIdentityConfig property for this request.
 /// </summary>
 /// <param name="oaiConfig">The value that OriginAccessIdentityConfig is set to</param>
 /// <returns>the request with the Id set</returns>
 public CreateOriginAccessIdentityRequest WithOriginAccessIdentityConfig(CloudFrontOriginAccessIdentityConfig oaiConfig)
 {
     this.oaiConfig = oaiConfig;
     return this;
 }
 /// <summary>
 /// Instantiates CreateCloudFrontOriginAccessIdentityRequest with the parameterized properties
 /// </summary>
 /// <param name="cloudFrontOriginAccessIdentityConfig">The origin access identity's configuration information.</param>
 public CreateCloudFrontOriginAccessIdentityRequest(CloudFrontOriginAccessIdentityConfig cloudFrontOriginAccessIdentityConfig)
 {
     _cloudFrontOriginAccessIdentityConfig = cloudFrontOriginAccessIdentityConfig;
 }
 /// <summary>
 /// Instantiates UpdateCloudFrontOriginAccessIdentityRequest with the parameterized properties
 /// </summary>
 /// <param name="id">The identity's id.</param>
 /// <param name="ifMatch">The value of the ETag header you received when retrieving the identity's configuration. For example: E2QWRUHAPOMQZL.</param>
 /// <param name="cloudFrontOriginAccessIdentityConfig">The identity's configuration information.</param>
 public UpdateCloudFrontOriginAccessIdentityRequest(string id, string ifMatch, CloudFrontOriginAccessIdentityConfig cloudFrontOriginAccessIdentityConfig)
 {
     _id = id;
     _ifMatch = ifMatch;
     _cloudFrontOriginAccessIdentityConfig = cloudFrontOriginAccessIdentityConfig;
 }
예제 #6
0
 /// <summary>
 /// Instantiates UpdateCloudFrontOriginAccessIdentityRequest with the parameterized properties
 /// </summary>
 /// <param name="id">The identity's id.</param>
 /// <param name="ifMatch">The value of the <code>ETag</code> header that you received when retrieving the identity's configuration. For example: <code>E2QWRUHAPOMQZL</code>.</param>
 /// <param name="cloudFrontOriginAccessIdentityConfig">The identity's configuration information.</param>
 public UpdateCloudFrontOriginAccessIdentityRequest(string id, string ifMatch, CloudFrontOriginAccessIdentityConfig cloudFrontOriginAccessIdentityConfig)
 {
     _id      = id;
     _ifMatch = ifMatch;
     _cloudFrontOriginAccessIdentityConfig = cloudFrontOriginAccessIdentityConfig;
 }
 /// <summary>
 /// Sets the OriginAccessIdentityConfig property for this request.
 /// </summary>
 /// <param name="config">The value that OriginAccessIdentityConfig is set to</param>
 /// <returns>the request with the Configuration set</returns>
 public SetOriginAccessIdentityConfigRequest WithOriginAccessIdentityConfig(CloudFrontOriginAccessIdentityConfig config)
 {
     this.oaiConfig = config;
     return this;
 }
예제 #8
0
 /// <summary>
 /// Sets the OriginAccessIdentityConfig property for this request.
 /// </summary>
 /// <param name="config">The value that OriginAccessIdentityConfig is set to</param>
 /// <returns>the request with the Configuration set</returns>
 public SetOriginAccessIdentityConfigRequest WithOriginAccessIdentityConfig(CloudFrontOriginAccessIdentityConfig config)
 {
     this.oaiConfig = config;
     return(this);
 }
 public CreateCloudFrontOriginAccessIdentityRequest WithCloudFrontOriginAccessIdentityConfig(CloudFrontOriginAccessIdentityConfig cloudFrontOriginAccessIdentityConfig)
 {
     this.cloudFrontOriginAccessIdentityConfig = cloudFrontOriginAccessIdentityConfig;
     return(this);
 }
 /// <summary>
 /// Instantiates CreateCloudFrontOriginAccessIdentityRequest with the parameterized properties
 /// </summary>
 /// <param name="cloudFrontOriginAccessIdentityConfig">The origin access identity's configuration information.</param>
 public CreateCloudFrontOriginAccessIdentityRequest(CloudFrontOriginAccessIdentityConfig cloudFrontOriginAccessIdentityConfig)
 {
     _cloudFrontOriginAccessIdentityConfig = cloudFrontOriginAccessIdentityConfig;
 }
 /// <summary>
 /// Sets the CloudFrontOriginAccessIdentityConfig property
 /// </summary>
 /// <param name="cloudFrontOriginAccessIdentityConfig">The value to set for the CloudFrontOriginAccessIdentityConfig property </param>
 /// <returns>this instance</returns>
 public GetCloudFrontOriginAccessIdentityConfigResult WithCloudFrontOriginAccessIdentityConfig(CloudFrontOriginAccessIdentityConfig cloudFrontOriginAccessIdentityConfig)
 {
     this.cloudFrontOriginAccessIdentityConfig = cloudFrontOriginAccessIdentityConfig;
     return(this);
 }
 /// <summary>
 /// Sets the OriginAccessIdentityConfig property for this request.
 /// </summary>
 /// <param name="oaiConfig">The value that OriginAccessIdentityConfig is set to</param>
 /// <returns>the request with the Id set</returns>
 public CreateOriginAccessIdentityRequest WithOriginAccessIdentityConfig(CloudFrontOriginAccessIdentityConfig oaiConfig)
 {
     this.oaiConfig = oaiConfig;
     return(this);
 }