@Test public void builderShouldThrowWhenEndpointIsNull() { assertThatThrownBy(() -> AwsS3AuthConfiguration.builder() .endpoint(null) .accessKeyId(ACCESS_KEY_ID) .secretKey(SECRET_KEY) .build()) .isInstanceOf(NullPointerException.class) .hasMessage("'endpoint' is mandatory"); }
public static Builder.RequiredEndpoint builder() { return endpoint -> accessKeyId -> secretKey -> new Builder.ReadyToBuild(endpoint, accessKeyId, secretKey); }
AwsS3AuthConfiguration { public static Builder.RequiredEndpoint builder() { return endpoint -> accessKeyId -> secretKey -> new Builder.ReadyToBuild(endpoint, accessKeyId, secretKey); } }
AwsS3AuthConfiguration { public static Builder.RequiredEndpoint builder() { return endpoint -> accessKeyId -> secretKey -> new Builder.ReadyToBuild(endpoint, accessKeyId, secretKey); } private  AwsS3AuthConfiguration(URI endpoint,
                                   String accessKeyId,
                                   String secretKey); }
AwsS3AuthConfiguration { public static Builder.RequiredEndpoint builder() { return endpoint -> accessKeyId -> secretKey -> new Builder.ReadyToBuild(endpoint, accessKeyId, secretKey); } private  AwsS3AuthConfiguration(URI endpoint,
                                   String accessKeyId,
                                   String secretKey); static Builder.RequiredEndpoint builder(); URI getEndpoint(); String getAccessKeyId(); String getSecretKey(); @Override final boolean equals(Object o); @Override final int hashCode(); @Override final String toString(); }
AwsS3AuthConfiguration { public static Builder.RequiredEndpoint builder() { return endpoint -> accessKeyId -> secretKey -> new Builder.ReadyToBuild(endpoint, accessKeyId, secretKey); } private  AwsS3AuthConfiguration(URI endpoint,
                                   String accessKeyId,
                                   String secretKey); static Builder.RequiredEndpoint builder(); URI getEndpoint(); String getAccessKeyId(); String getSecretKey(); @Override final boolean equals(Object o); @Override final int hashCode(); @Override final String toString();  }